<pre class="docs-method-signature"><code>element.fitEmbeds([opt])</code></pre><p>Resize the element so that it fits all the embedded elements inside it. If <code>opt.deep</code> is <code>true</code>,
          the resizing will be done recursively for any embedded elements that contain embedded elements themselves.
          Set <code>opt.padding</code> if you want certain padding on all the parent elements.
        </p>